<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
        content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>个人中心</title>
    <link rel="stylesheet" href="__STATIC__/web/css/public.css">
    <link rel="stylesheet" href="__STATIC__/web/css/mine.css">
    <script src="__STATIC__/web/js/rem.js"></script>
    <script src="__STATIC__/web/js/jquery.js"></script>
</head>

<body>
    <div class="mine-info">
        <img class="avatar" src="{$user.head_img|default='__STATIC__/images/default_avator.jpg'}" />
        <div class="info">
            <div>
                <div class="name">{$user.real_name}</div>
                <div class="edit">
                    <a href="{:url('me/edit')}">
                        <img src="__STATIC__/web/img/edit.png" alt="">
                        <span>修改</span>
                    </a>
                </div>
            </div>
            <div>
                <if  condition="$user_type eq 0">
                    <span>工号：{$user.teacher_no}</span>
                </if>
                <span>{$user.phone}</span>
            </div>
        </div>
    </div>
    <if  condition="$user_type eq 0">
    <div class="tags">
        <foreach name="tagList" item="vo">
            <div class="tag">{$vo}</div>
        </foreach>
    </div>
    <div class="introduce">
        <div class="myintro">个人简介</div>
        <div class="arwintro">
            <div class="intro showintro" id="intro" style="-webkit-box-orient: vertical;color: #999;text-align: justify;">
                {$user.resume|raw|default=""}
            </div>
            <img class="down_arrow" id="showintroduce" src="__STATIC__/web/img/down_arrow.png">
        </div>
    </div>
    </if>

    <div class="tab-list">
        <if  condition="$user_type eq 0">
        <a href="{:url('me/fruit')}">
                <div class="lt">
                    <img src="__STATIC__/web/img/news.png">
                    <span>我发布的成果</span>
                </div>
                <img class="rt" src="__STATIC__/web/img/more.png" alt="">
            </a>
        </if>
            <a href="{:url('me/requirement')}">
                <div class="lt">
                    <img class="otherclass" src="__STATIC__/web/img/damand.png">
                    <span>我发布的需求</span>
                </div>
                <img class="rt" src="__STATIC__/web/img/more.png" alt="">
            </a>
        <!--<if  condition="$user_type eq 0">-->
        <!--<a href="{:url('me/team')}">-->
                <!--<div class="lt">-->
                    <!--<img class="otherclass" src="__STATIC__/web/img/myteam.png">-->
                    <!--<span>我的团队</span>-->
                <!--</div>-->
                <!--<img class="rt" src="__STATIC__/web/img/more.png" alt="">-->
            <!--</a>-->
        <!--</if>-->
            <a href="{:url('me/collection')}">
                <div class="lt">
                    <img src="__STATIC__/web/img/mycollect.png">
                    <span>我的收藏</span>
                </div>
                <img class="rt" src="__STATIC__/web/img/more.png" alt="">
            </a>
            <a href="{:url('me/FAQ')}">
                <div class="lt">
                    <img style="height: .48rem" src="__STATIC__/web/img/myquestion.png">
                    <span>常见问题</span>
                </div>
                <img class="rt" src="__STATIC__/web/img/more.png" alt="">
            </a>
            <a href="{:url('me/callme')}">
                <div class="lt">
                    <img src="__STATIC__/web/img/contact.png">
                    <span>联系客服</span>
                </div>
                <img class="rt" src="__STATIC__/web/img/more.png" alt="">
            </a>
            <a href="{:url('me/other')}">
                <div class="lt">
                    <img src="__STATIC__/web/img/set.png">
                    <span>其他设置</span>
                </div>
                <img class="rt" src="__STATIC__/web/img/more.png" alt="">
            </a>
        </div>
    <div class="bottom-bar">
        <div>Copyright©2019 　山东科技大学 </div>
        <div>鲁ICP备09051012号</div>
    </div>
    <script>
        
        $('#showintroduce').click(function () {
            if ($('#intro').hasClass('showintro')) {
                $('#intro').removeClass('intro');
                $('#intro').removeClass('showintro');
                $('#showintroduce').addClass('down_arrow1')
            } else {
                $('#intro').addClass('showintro');
                $('#intro').addClass('intro');
                $('#intro').animate(1000)
                $('#showintroduce').removeClass('down_arrow1')
            }
        })
    </script>
</body>

</html>